<div class="right">
	<div id="bread-nav" class="fn-clear">
		<ul>
			<li><a href="admin/home">后台首页</a></li>
			<li><a><?=$className?>编辑</a></li>
		</ul>
	</div>
	<script type="text/javascript" src="ueditor/editor_config.js"></script>
	<script type="text/javascript" src="ueditor/editor_all.js"></script>
	<link rel="stylesheet" href="ueditor/themes/default/ueditor.css" />
	<div id="content" class="text-darkgrey">
		<h2><?=$className?>编辑</h2>
		
		<?=form_open("admin/news/edit$class/".$news['id'],$form)?>
			<p>　标　题：<input id="title" type="text" name="title" value="<?=$news['title']?>"/>
			<?=form_error('title','<label id="titleErr">', '</label>')?></p>
			<p>首页推送：
			<input class="short-input" name="show" type="checkbox" value="T" <?php if($news['show']=='T'):?>checked<?php endif;?>/>
			</p>
			<script type="text/plain" name="editor" id="editor"><?=$news['details']?></script>
			<script type="text/javascript">
		    	var editor = new baidu.editor.ui.Editor();
		    	editor.render("editor");
			</script>
			<p>推送图片：
				<?php if($news['newsImage']):?>
				<img src="<?=$news['newsImage']?>" />
				<?php else:?>
				无
				<?php endif;?>
			</p>
			<p><input name="userfile" type="file"  value="选择图片" /></p>
			<p>最后修改人：<?=$news['updatePerson']?></p>
			<p>最后修改时间：<?=date('Y-m-d H:i:s',strtotime($news['updateTime']))?></p>
			<p><input type="submit" id="submitCheck" value="更改" class="submit"></p>
		</form>
	</div>
</div>